package com.hui.security.sys.entity;

import java.io.Serializable;
import java.util.Date;

public class Permission implements Serializable {
    private String permissionId;

    private String permissionName;

    private Integer permissionType;

    private String resourceUrl;

    private Integer httpMethodType;

    private String description;

    private Date createdTime;

    private static final long serialVersionUID = 1L;

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public Integer getPermissionType() {
        return permissionType;
    }

    public void setPermissionType(Integer permissionType) {
        this.permissionType = permissionType;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public Integer getHttpMethodType() {
        return httpMethodType;
    }

    public void setHttpMethodType(Integer httpMethodType) {
        this.httpMethodType = httpMethodType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", permissionId=").append(permissionId);
        sb.append(", permissionName=").append(permissionName);
        sb.append(", permissionType=").append(permissionType);
        sb.append(", resourceUrl=").append(resourceUrl);
        sb.append(", httpMethodType=").append(httpMethodType);
        sb.append(", description=").append(description);
        sb.append(", createdTime=").append(createdTime);
        sb.append("]");
        return sb.toString();
    }
}